{extend name="public/base"/}
{block name="css"}
<style>
    .content {width:100%;padding-top:10px;}
    .content p {padding:0;margin:0;text-indent:2em;}
</style>
{/block}
{block name="body"}
<van-nav-bar
        class="nav-theme"
        :fixed="true"
        :placeholder="true"
        left-text="返回"
        left-arrow
        @click-left="onBack"
>
    <template #title>
        <span class="text-white">{$title}</span>
    </template>
</van-nav-bar>
<div class="content">
    {$content}
</div>
{/block}
{block name="script"}
<script>
    function v_setup() {
        let base = {};

        base.onBack = () => {
            history.back();
        };

        return base;
    }
</script>
{/block}